import { titleheight } from '@/config/frame'
const frame = {
  state: {
    titleheight: titleheight
  },
  mutations: {
    SET_TITLE_HEIGHT (state, data) {
      state.titleheight = data
    }
  },
  actions: {
    setTitleheight ({ commit }, data) {
      commit('SET_TITLE_HEIGHT', data)
    }
  }
}

export default frame
